<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<style>
		
	</style>
	<body>
		<div id="root">
			<aa>
				<template v-slot:default="vs">
					<p>建个毛啊--{{vs.myaddr}}</p>
					我要上天
				</template>
				<template v-slot:kc2>
					<p>伏兆庆泰山</p>
				</template>
			</aa>
		</div>
	</body>

</html>
<script src="./js/vue.js"></script>
<script> 
	let aa = {
		template:`
			<div>
				<slot myaddr="北京天安门"/>
				<p>但闻人语响</p>
				<p>返景入深林</p>
				<slot name="kc2"/>
			</div>
		`
	}

	new Vue({
		el:"#root",
		components:{aa}
	})
</script>